package com.yyb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 
 * 
 */
@Data
@Schema(title = "用户登录入参数数据模型")
public class LoginUserDTO {

    @Schema(title = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String username;

    @Schema(title = "密码")
    @NotBlank(message = "用户密码不能为空")
    private String password;

    @Schema(title = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;

}
